<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>初始vue</title>
    <script type="text/javascript"  src="../js/vue.js"></script>
</head>

<body>
    <div id="root">
        单向数据绑定: <input type="text" :value="name"> <br/>
        双向数据绑定: <input type="text" v-model="name">
    </div>
</body>
<script type="text/javascript">
    Vue.config.productionTip=false;
    new Vue({
        el:"#root",
        data:{
            name:"123",
            addrees:"asdsad"
        }
    })
</script>
</html>